@charset "utf-8";

/*去掉超链接或按钮点击时出现的虚线框黄色边框*/
::-moz-focus-inner {
	border: 0;
}

/*火狐的私有属性去掉点击时边框*/
/*上传图片通用样式*/
.upload-ul {
	position: relative;
	display: inline-block;
	/**zoom: 1;*/
}

.upload-ul li {
	position: relative;
	float: left;
	display: inline-block;
	width: 160px;
	height: 160px;
	margin: 0 10px 10px 0;
	cursor: pointer;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	overflow: hidden;
}

.upload-pick {
	position: relative;
	display: inline-block;
	margin: 0 10px 10px 0;
	left: 0;
	top: 0;
	border: 1px dashed #d9d9d9;
	width: 158px;
	height: 158px;
}

.upload-pick:hover {
	border: 1px dashed #009688;
	color: #009688;
}

.upload-pick i {
	font-size: 30px;
}

.webuploader-pick {
	position: absolute;
	display: flex;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	flex-direction: column;
}

.webuploader-container {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}


.webuploader-element-invisible {
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
	clip: rect(1px 1px 1px 1px);
	clip: rect(1px, 1px, 1px, 1px);
}

.viewThumb {
	border: 1px dashed #d9d9d9;
	position: relative;
	width: 158px;
	height: 158px;
	border-radius: .3rem;
	display: flex;
	text-align: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	overflow: hidden;
}

.viewThumb img {
	width: 100%;
	object-fit: contain;

}

.diyBar {
	position: absolute;
	display: none;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	opacity: .7;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}
.diyBar i {
	font-size: 45px;
	color: #009688;
}

.diyProgress {
	position: absolute;
	left: 0;
	top: 33px;
	width: 100%;
	height: 24px;
	line-height: 24px;
	font-size: 14px;
	color: #FFF;
	background: rgba(10, 168, 241, .7);
	z-index: 3;
}

.viewThumb:hover {
	border: 1px dashed #009688;
}

.viewThumb:hover .control-bottom {
	transform: translateY(0);
}

.control {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	background-color: rgba(0, 0, 0, .3);
	-webkit-transition: all .3s;
	transition: all .3s;
	-webkit-transition-delay: .1s;
	transition-delay: .1s;

}

.control:hover{
	opacity: 1;
}

.control .del {
	background: #f4516c;
	color: #fff;
	position: absolute;
	display: inline-block;
	line-height: 1.3em;
	font-size: 11px;
	width:1.4em;
	height: 1.5em;
	padding-left: 5px;
	top: 0;
	right: 0;
	border-radius: 0 0 0 1.8em;
	-webkit-transition: all .1s;
	transition: all .1s;
}
.control .del:hover{
	font-size: 18px;
	line-height: 1.8em;
	width: 2.2em;
	height: 2.0em;
	border-radius: 0 0 0 2.2em;
}
.control-bottom {
	color: #fff;
	display: flex;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	justify-content: space-around !important;
	font-size: 14px;
	background-color: rgba(0, 0, 0, .3);
	transform: translateY(100%);
	transition: all .38s;
	height: 25px;
	line-height: 25px;
}

.control-bottom span {
	width: 100%;
}

.control-bottom span i {
	cursor: pointer;
}

.control-bottom span i:hover {
	font-size: 18px;
}
